home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Newsletters / GEnieUnixNews / unxnl-10.91 < prev    next >
Text File  |  1992-12-27  |  21KB  |  479 lines

  1.  
  2.           _  _  _   _  _   _
  3.          // // //| // // \//     N E W S
  4.         //_// // |// //  /\\     Vol 2, Issue 5 - October 1991
  5.       R o u n d T a b l e (tm)
  6.  
  7.    Items of interest to participants of the GEnie Unix RoundTable
  8.  
  9.       The RoundTable SysOps are:
  10.       Andy Finkenstadt....ANDY       Rick Mobley.........LRARK
  11.       Gary Smith..........GARS       Brian Riley.........DELPHI
  12.                   All Unix SysOps.....UNIXSYSOPS$
  13.    We strongly encourage you to contact any or all of us if you have -ANY-
  14.  comments or suggestions. This is -YOUR- RoundTable. We are here to make
  15.  your participation as pleasant and beneficial as possible.
  16.  
  17.  ED: editor notes - chgrp     GARS (Gary Smith)
  18.  --  
  19.          chgrp Changes the group that is associated with the file
  20.          -----
  21.     The file in question is the GEnie Unix RoundTable, and the members that
  22.  represent your SysOp support group have indeed changed. Both Dave Weinstein
  23.  and Christopher North-Keys succumbed to the demands of their employment and
  24.  resigned their respective posts. Christopher (HARP) will not, at least for
  25.  the moment, be replaced. Stepping in as new lead SysOp is someone most of
  26.  us are already familiar with, Andy Finkenstadt (ANDY).
  27.   
  28.     Dave and I go back some distance. As a matter of fact, I recruited Dave
  29.  for the position of Unix RoundTable Lead SysOp when this area was still in
  30.  the planning stages, so it is difficult for me to be totally objective about
  31.  this necessary exodus. Much of the flavor of the Unix RoundTable can be
  32.  attributed to Dave. Christopher and Dave are both quite knowledgable about
  33.  Unix internals and that knowledge will be missed.
  34.  
  35.     Suffice it to say we wish Dave and Chris both success and thank them for
  36.  the time and effort each expended in behalf of all of us. We also hope each
  37.  will log back in as time permits.
  38.    
  39.     Andy will handle his own intro in the 'who' section which follows.
  40.        
  41.   WHO  getting to know... Andrew Finkenstadt [ANDY]
  42.   ===                     Sysop, Unix RoundTable on GEnie
  43.     
  44.  Greetings!
  45.  
  46.  For the past two years Dave Weinstein, the previous Chief
  47.   Sysop, has been working with his team to bring you the best
  48.   information and publicly available files for the Unix
  49.   operating system, and Unix work-alike progams for other
  50.   computers, as well as several interesting Conferences with
  51.   such notables as Richard "Free Software Foundation"
  52.   Stallman and ***.
  53.   
  54.  Please allow me to introduce myself to you in this brief
  55.   letter.  I am the new "Chief Sysop" of the Unix Roundtable,
  56.   responsible to GEnie for its management and
  57.   well-running-ness.  If you have a problem, complaint,
  58.   suggestion, or just want to chat, please feel free to drop
  59.   me a note directly or via the "Feedback to the Unix Sysops"
  60.   item on the Unix Roundtable menu.
  61.   
  62.  I've been a member of GEnie since 1985 beginning with the
  63.   American Apple Round Table (now called the Apple II
  64.   RoundTable).  Many of you may know me already as the "Chat
  65.   Lines Games Guru," author or sponsorer of many of the
  66.   Multi-Player games played online in Chat for the past 3
  67.   years.
  68.   
  69.  I've been involved in Unix systems for almost 15 years,
  70.   starting with Unix on a PDP 11/70, graduating to BSD Unix
  71.   on a VAX, and now most recently with Sun SparcStations, Sun
  72.   386i's, and AT&T System V Unix for Intel 386 platforms.
  73.   The company for which I work uses Unix for telemarketing
  74.   applications, relational database management systems,
  75.   raster image processing for the PostScript(tm) language,
  76.   and for word processing.
  77.   
  78.  The Unix RoundTable sysops will be taking steps over the
  79.   next few weeks to spruce up the area and we welcome your
  80.   comments and suggestions for how to better serve you and
  81.   your needs as a participant in the Unix RoundTable on
  82.   GEnie.  [[[We began this process on October 1 during our
  83.   GEnie*Basic RoundTable Conference which some of you may
  84.   have attended and several excellent suggestions were given.
  85.   Please continue with any and all comments that you have.]]]
  86.  
  87.  In closing, we thank you for your patronage in the past,
  88.   and look forward to serving you in the future. 
  89.    
  90.  Cheers!
  91.  -Andy
  92.  
  93.  file - the HOT 35 files in the Unix RoundTable libraries
  94.  ----
  95.  
  96.  Version 29 September 1991
  97.  35 Most Popular Files for and about the Unix operating system
  98.     Now available for downloading.
  99.      File # File Name                              Size Date        Library
  100.  ---------- -------------------------------- ---------- -------- ----------
  101.          83 ARC512S.CPIO.Z                        47880 12/12/89         13
  102.             Desc: C source for ARC ver. 5.12
  103.         267 ARCHIVE.SITES                         11340 02/11/90         14
  104.             Desc: list of archive sites, most FTP
  105.          62 COMP40.ARC                            39060 11/27/89         13
  106.             Desc: utility,compress/uncompress,msdos
  107.         197 COMP43D.ARC                           49140 01/21/90         13
  108.             Desc: 16-bit Compress for MS-DOS
  109.         517 CU.TAR.Z                              55440 05/24/90         16
  110.             Desc: CU.tar.Z, cu with x/ymodem & dial
  111.         310 DOS-VI.ZOO                            22680 02/25/90         11
  112.             Desc: vi for ms-dos
  113.           2 DOS.SHELL                             23940 10/28/89          7
  114.             Desc: A DOS shell for XENIX / UNIX
  115.        1525 DOSTAR.COM                            22680 02/22/91         13
  116.             Desc: This is a MS/DOS tar program
  117.         107 GNUSITE                               20160 12/24/89          1
  118.             Desc: Info on how to get what GNU stuff
  119.          68 INTERNET.ARC                          32760 12/02/89          1
  120.             Desc: Hitchiker's Guide to Internet
  121.          41 LOOZ210.EXE                           18900 11/19/89         13
  122.             Desc: MS-DOS specific ZOO extractor
  123.        1043 MINIX15.INF                           27720 09/13/90         24
  124.             Desc: The latest info on Minix 1.5 (9/90)
  125.         322 NIXPUB.LONG.SHORT.0290                34020 03/04/90         15
  126.             Desc: pubnet.nixpub listing dated 02/90
  127.          14 NIXPUB.LONG.SHORT.1089                17640 10/29/89         15
  128.             Desc: pubnet.nixpub listing dated 10/89
  129.        1504 NIXPUB.Z                              23940 02/15/91         15
  130.             Desc: Unix access list (long)
  131.          91 PCOMM.ZOO                            154980 12/22/89          1
  132.             Desc: Portable C source code for PComm
  133.         334 PDTAR.ZOO                             51660 03/07/90         13
  134.             Desc: TAR for Unix/ms-dos
  135.         722 PROTOCOL.TXT                          46620 07/03/90         17
  136.             Desc: Compression and Upload Protocol Docs
  137.           1 RTC/QK.REF                             2520 10/22/89          2
  138.             Desc: Handy 3 x 5 Conference Command Ref
  139.          24 RZSZ.ZOO                             102060 11/07/89         16
  140.             Desc: X/Y/Z MODEM for VMS and Unix
  141.         274 SETUP.UUCP                            11340 02/12/90         15
  142.             Desc: how to setup for uucp
  143.          37 SH.ZOO                                17640 11/15/89         13
  144.             Desc: 'shar' de-archiver
  145.         255 TCP.TUTORIAL.DOC                      94500 02/09/90         14
  146.             Desc: TCP/IP tutorial
  147.         115 UMODEM.ZOO                            21420 12/27/89         16
  148.             Desc: C source for Unix xmodem
  149.          65 UNCOMP16.COM                          13860 11/29/89         13
  150.             Desc: 16-bit uncompressor for MS-DOS
  151.          23 UNIX.HACK                              3780 11/05/89         20
  152.             Desc: What is a "Unix Hacker?"
  153.           4 UNIX.QUESTIONS.0789                   16380 10/28/89          5
  154.             Desc: Unix questions with answers 7/89
  155.          40 UNIX/XMODEM                           10080 11/18/89         16
  156.             Desc: XMODEM C Code for UNIX
  157.          29 UNIXDOCS.ARC                          41580 11/08/89          5
  158.             Desc: Intro to Unix - beginner answers
  159.          67 UUPC-IBM.ARC        V1.5             137340 11/30/89         15
  160.             Desc: UUPC for the MS-DOS machines
  161.          66 UUPCREAD.ME        V1.5                7560 11/30/89         15
  162.             Desc: notes for installation of uupc-IBM
  163.         192 VI.REFCARD                            18900 01/20/90          6
  164.             Desc: handy vi ref card - shell
  165.         230 XOBBS.ARC                             54180 02/01/90         16
  166.             Desc: Complete Unix based BBS
  167.          93 ZOO.ARC                              153720 12/22/89          1
  168.             Desc: Portable C source for zoo utility
  169.         935 ZTERM.TAR.Z                           83160 08/13/90         16
  170.             Desc: zterm.tar.Z, zmodem with dialer
  171.        
  172.  FAST and NASTY, DOWN  and  DIRTY:  quick  fix scripts that do something
  173.  --------------------------------
  174.  
  175.  uutry    (LRARK) Ricky Mobley
  176.  -----
  177.  I have a little down and dirty script that I have used very successfully
  178.  before a true executable file came along. I called it 'uutry'. Its
  179.  purpose was to:
  180.   
  181.  -remove any lock (LCK) files that existed, then
  182.  -call the system to deliver, or receive anything
  183.   that was in the que.
  184.    
  185.  (-rwxr-xr-x 1 uucp uucp 73 uutry)
  186.  ---------------------- cut here ----------------------
  187.  rm /usr/spool/uucp/STST.$1 2>/dev/null
  188.  /usr/lib/uucp/uucico -r1 -x1 -s$1
  189.  ---------------------- to here -----------------------
  190.  
  191.  I also had one called uutry.4 that was an exact copy of the above with
  192.  the exception of '-x4' in place of the '-x1'. This gave me a bit more
  193.  feedback when I needed it. It is advisable that you NOT run the -x switch
  194.  high, because the output is usually appended to /usr/spool/uucp/AUDIT
  195.  which can grow quiet large on BOTH the master and slave end.
  196.  
  197.  Short and Sweet, but useful, heh?
  198.  
  199.  rick@lrark.UUCP       *    bang path --> uunet!ddi1!lrark!rick    *
  200.  Ricky Mobley          *          LRTUG (501) 224-9454             *
  201.  1800 Sanford Dr. #4   *    GEnie Unix RT SysOp address LRARK      *
  202.  Little Rock, AR 72207 *     WB5FDP.AR.USA.NA wb5fdp.ampr.org      *
  203.    
  204.  ff   (GARS) Gary Smith
  205.  --
  206.  In unxnl-10.90 a neat script called 'where' by Jim Foy was presented that
  207.  quickly located a file if it was in your path.  I really like that script
  208.  and use it often.  Unfortunately, where() is satsified by the first match
  209.  and will not look beyond $PATH.  That means falling back to good ole'
  210.  reliable find(). Using find means typing a long string subject to errors
  211.  from my fat fingers. My solution was ff (file-finder), which is nothing
  212.  more than a quick alias for find(). Since ff does use find, it lacks the
  213.  speed of where, but it will find every match for your argument, report 
  214.  the path, and accept wildcards.
  215.    
  216.  ---------------------- cut here ----------------------
  217.  # ff (file-finder)         Gary Smith   4 September 1991
  218.  # ...uunet!ddi1!lrark!glsrk!gars
  219.  # returns path of argument <filename>
  220.  if [ $# -ne 1 ]
  221.       then echo "$0 = *nix filefinder"
  222.            echo "Usage: $0 <filename>"
  223.       exit 1
  224.  fi
  225.         clear
  226.      echo "....searching for '$1' "
  227.      /bin/find / -name $1 -print 
  228.  if [ -s $1 ]
  229.       then echo "$1 search complete"
  230.       else
  231.       echo "$1 not in current directory"
  232.               exit
  233.  fi
  234.  # EOF ff
  235.  ---------------------- to here -----------------------
  236.  
  237.     __         _  Gary Smith           * ... uunet!ddi1!lrark!glsrk!gars  *
  238.    / _' _   _ (_' P. O. Drawer 7680    * GEnie Forth RT  &  Unix RT SysOp *
  239.   /__/ (_|_/ '._) Little Rock,AR 72217 *   voice phone  :  501-227-7817   *
  240.   ---------------        - U. S. A. -  *   group 3 fax  :  501-228-9374   *
  241.     
  242.  split
  243.  -----
  244.  Lee Phillips (phillips@fozzie.nrl.navy.mil) sought input on ways to split
  245.  non-text files. The following are responses from Chris Ross and Randal
  246.  Schwartz.
  247.     Gary (GARS)
  248.   
  249.  Chris Ross used dd ...
  250.  
  251.    Well, dd(1) should be able to do what you're looking for.  Example, to take
  252.  10kb chunks of file foo.Z:
  253.     
  254.         dd if=foo.Z bs=1024 count=10 of=foo.Z.1
  255.         dd if=foo.Z bs=1024 count=10 skip=10 of=foo.Z.2
  256.      
  257.    etc.  I realize there are probably much easier ways to do it, but this should
  258.  work.
  259.                                         - Chris
  260. --
  261. Chris P. Ross                         University Of Maryland
  262. cross@eng.umd.edu                     Engineering Computer Facility
  263. Work#: (301)/405-3689                 Project GLUE
  264.       "Love is like the ozone layer; you never miss it 'til it's gone."
  265.                            - Leslie Nielsen, Naked Gun 2 1/2
  266.      
  267.  Randal Schwartz used perl...
  268.  
  269.         #!/usr/bin/perl
  270.         $chunk = 32768; # whatever chunksize you want
  271.         $prefix = "out."; # chunks will be named "out.nnnn"
  272.         while (read(STDIN, $data, $chunk)) {
  273.                 open(OUT, ">$prefix." . ++$num);
  274.                 print OUT $data;
  275.         }
  276.  
  277.  Embellish to taste.
  278.  
  279.  print "Just another Perl hacker,"
  280.  --
  281.  /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ========\
  282.  | on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III    |
  283.  | merlyn@iwarp.intel.com ..!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn|
  284.  \=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."==/
  285.  
  286.  'alarm' shell script   (GEO.DOSCH) George Doscher
  287.   -----
  288.  This alarm shell script uses the 'at' processor to send a reminder to your
  289.  terminal at a pre-determined time.  You simply enter a message and an
  290.  execution time (explained later.)  At the selected time your terminal will
  291.  beep, and the message will be loaded into the status (or message) line of
  292.  your terminal.  It should not affect any other input/output on your
  293.  terminal.
  294.  If your terminal does not have a writable message line, or if this capability
  295.  is not defined in the terminfo database for your terminal, the message will
  296.  be echoed to your screen (not very nicely!)
  297.  
  298.  The script itself is quite simplistic, but uses the power of the 'at'
  299.  processor for its versatility.  An alarm may be set to 'go off' in the next
  300.  few minutes, hours, days, months, etc.  Rebooting the system does not disturb
  301.  it.  If you are logged-off you will still receive the message.  As long as
  302.  your terminal is powered-on at the alarm time, you should get the message.
  303.  
  304.  One of the nicest features is the flexibility with which time arguments may
  305.  be entered.  Some examples are:
  306.  
  307.      10:30
  308.      8:15 pm
  309.      Noon
  310.      3:30 Thursday
  311.      Now + 20 minutes
  312.      0800 am next Mon
  313.      16:00 Nov 15
  314.  
  315.  This is just a small sample of the possibilities.  Check your 'at' man page
  316.  for a detailed description.
  317.  
  318.  One of the times I find this utility helpful is when someone says "Call me
  319.  back in 10 minutes."  Simply use "now + 10 min" for the time and you will be
  320.  given a reminder.  Since it works equally well for reminders minutes away or
  321.  months away, I use it all the time.
  322.  
  323.  Some operational notes:
  324.  
  325.  Entering "alarm off" will clear your terminal's status line.
  326.  
  327.  Running the command with any other line argument will show a short help line.
  328.  If your terminal's terminfo database does not support status line writing,
  329.  you will get a message to that effect.  This is a quick way to see if your
  330.  terminal has this capability.  If not, you may need to add "tsl" (start
  331.  status writing) and "fsl" (end status writing), and recompile (tic) your
  332.  terminfo source.
  333.  
  334.  Pressing <return> for the message prompt will result in a default message
  335.  (<ring!>.)
  336.  
  337.  Pressing <return> for the time will display a help prompt.  The one used in
  338.  this script is specifically for SCO Xenix.
  339.  
  340.  This script was written on SCO Xenix 2.3.2, and I have also used it on SCO
  341.  Unix.  If other flavors of *nix have differences in the way at's messages
  342.  are output, you may need to do some tweaking.
  343.  
  344.  Enjoy!
  345.                                   -geo
  346.  
  347.  ====== Start of script ============================================
  348.  :
  349.  # set an alarm using the 'at' processor
  350.  #
  351.  #  George Doscher   (GEO.DOSCH)  4/89
  352.  
  353.  status=no
  354.  wstat=`tput tsl 2> /dev/null`
  355.  estat=`tput fsl 2> /dev/null`
  356.  [ $wstat ] && status=yes
  357.  
  358.  [ $# -gt 0 ] && {
  359.  if [ $status = "no" ] ;
  360.       then echo "\nSorry, your terminal does not support writing
  361.  to the status line.  No arguments allowed!
  362.  " ;
  363.  elif [ $1 = "off" ] ;
  364.       then echo "${wstat}${estat}\c" ;
  365.  else
  366.       echo "usage: $0 [off]" ; 
  367.  fi
  368.  exit
  369.  }
  370.  
  371.  echo "\nalarm  v1.1\n"
  372.  success=1
  373.  
  374.  message="$0: <ring!>"
  375.  echo "\nmessage: \c"
  376.  read instring
  377.  echo "\n"
  378.  
  379.  until [ $success -eq 0 ]
  380.  do
  381.  
  382.  while true
  383.  do
  384.       echo "Enter alarm time: \c"
  385.       read atime
  386.       [ "$atime" ] && break 
  387.       echo "
  388.  
  389.  Time options: time [day] [+ n unit]
  390.  
  391.       time               1 - 4 digits (optional am, pm, zulu(GMT))
  392.                          or noon,midnight,now or next
  393.  
  394.       day                either month name followed by date,
  395.                          day of week, today or tomorrow,
  396.                          (reasonable abbreviations accepted)
  397.  
  398.       + n unit           n munutes,hours,days,weeks,months, or years
  399.  "
  400.  done
  401.  
  402.  [ "$instring" ] && message="$0: $instring"
  403.  
  404.  if [ $status = "no" ] ; 
  405.       then outstring="\r\n$message\007\n\n" ;
  406.  else
  407.       outstring="${wstat}${message}${estat}\007\c" ;
  408.  fi
  409.  
  410.  command="echo \"${outstring}\" > `tty`"
  411.  
  412.  at $atime <<EoF 2>$$
  413.  $command
  414.  EoF
  415.  success=$?
  416.  
  417.  set -- `cat $$`
  418.  /bin/rm -f $$
  419.  
  420.  if [ $success -ne 0 ] ; then
  421.       shift
  422.       echo "\nError setting time: $*
  423.  
  424.  Try Again! (press <return> for help)\n\007" ;
  425.  else
  426.       shift ; shift ; shift
  427.       echo "\nAlarm message stored: $*" ;
  428.  fi
  429.  done
  430.  ======== end of script =========================================
  431.    
  432.  CURSES - of a different sort, humor   (GARS) Gary Smith
  433.  ------   subtitle : Does this roundhouse have an exit ?
  434.      
  435.    A few weeks ago I happened upon a Unix unzip program archived in .zip
  436.  format, and was instantly reminded of an incident I will never forget.   
  437.   
  438.    Now the story can be told. When the GEnie Unix RoundTable first became
  439.  a reality I realized one of the first requirements would be to stock the 
  440.  library with essential utilities, and I took it upon myself to fullfill 
  441.  this need. This included a rush to provide as many compression/archival
  442.  programs such as compress, arc, zoo as was possible, reasoning that the
  443.  majority of the other files would be stored using these techniques.
  444.    I had managed to post a number of such programs in a relatively short
  445.  period of time, and had even garnered a few kudos from some of our early
  446.  members. I was feeling pretty good about the job we were doing, especially
  447.  the progress of the libraries until ....
  448.    One day, about six months into the project, I received a very pointed
  449.  message suggesting where I might put some of our files, and asking just
  450.  what sort of sadist I was ! Only then did I realize I had created an endless
  451.  loop with the following files :
  452.                              26  zoo201.zoo
  453.                              30  comp40.sh.Z
  454.                              38  arcsvr2.arc
  455.    Needless to say, I hastened to include some methods to break the loop !
  456.  
  457.   ---------------    
  458.    REMINDER - This newsletter is being sent to you 'by request'. If you do
  459.  not wish to keep receiving it, e-mail a stop notice to GARS. On the other
  460.  hand, we would very much appreciate it if you would pass the word that we
  461.  do distribute this item near the tenth (10th) of the month of issue to any-
  462.  one on GEnie who requests it, and will gladly add any name that is requested
  463.  via the same route... e-mail to GARS.
  464.    P L E A S E  also remember contributions are most welcome. Please e-mail
  465.  items and/or suggestions to GARS.
  466.  
  467.  (EOF)
  468.  
  469.   Trademark and Copyright notices:
  470.   Unix is a Trademark of UNIX System Laboratories, Inc.; GEnie, LiveWire, and
  471.   RoundTable are Trademarks of General Electric Information Services  Company;
  472.   Xenix and ms-dos are Trademarks of  Microsoft  Corporation; PostScript  is a
  473.   registered trademark of Adobe.
  474.  
  475.  The contents of this newsletter are copyright (c) 1991 and may be copied whole
  476.  or in part only if  original  credit is included. The GEnie UNIX RoundTable is
  477.  not affiliated with AT&T or UNIX System Laboratories, Inc.
  478. y if  original  credit is included. The GEnie UNIX RoundTable is
  479.  not affiliated with AT&T or UNIX System